Pod::Spec.new do |s|
  # 上传到私有库
  #验证方法1：pod lib lint CJGRKit.podspec --sources='https://github.com/CocoaPods/Specs.git,https://gitee.com/dvlproad/dvlproadSpecs' --allow-warnings --use-libraries --verbose
  #验证方法2：pod lib lint CJGRKit.podspec --sources=master,dvlproad --allow-warnings --use-libraries --verbose
  #提交方法： pod repo push dvlproad CJGRKit.podspec --sources=master,dvlproad --allow-warnings --use-libraries --verbose

  # 上传到开源库
  #验证方法1：pod lib lint CJGRKit.podspec --sources='https://github.com/CocoaPods/Specs.git,https://gitee.com/dvlproad/Specs' --allow-warnings --use-libraries --verbose
  #验证方法2：pod lib lint CJGRKit.podspec --sources=master,dvlproadPublicSpec --allow-warnings --use-libraries --verbose
  #提交方法： pod repo push dvlproadPublicSpec CJGRKit.podspec --sources=master,dvlproadPublicSpec --allow-warnings --use-libraries --verbose

  s.name         = "CJGRKit"
  s.version      = "0.1.0"
  s.summary      = "可进行各种手势(缩放、拖动(含位置调整))的基于UIView或UIScrollView的视图基类"
  s.homepage     = "https://gitee.com/dvlpFeatureModule/Feature-ImageFilter-iOS.git"

  #s.license      = "MIT"
  s.license      = {
    :type => 'Copyright',
    :text => <<-LICENSE
              © 2008-2020 dvlproad. All rights reserved.
    LICENSE
  }

  s.author   = { "dvlproad" => "" }
  

  s.description  = <<-DESC
 				          -、Toast:
                  -、Alert:
                  -、ActionSheet:
                  -、HUD:

                   A longer description of CJGRKit in Markdown format.

                   * Think: Why did you write this? What is the focus? What does it do?
                   * CocoaPods will be using this to generate tags, and improve search results.
                   * Try to keep it short, snappy and to the point.
                   * Finally, don't worry about the indent, CocoaPods strips it!
                   DESC
  

  s.platform     = :ios, "9.0"
 
  s.source       = { :git => "https://gitee.com/dvlpFeatureModule/Feature-ImageFilter-iOS.git", :tag => "CJGRKit_0.1.0" }
  #s.source_files  = "CJDemoCommon/*.{h,m}"
  #s.source_files = "CJChat/TestOSChinaPod.{h,m}"

  s.frameworks = "UIKit"

  s.requires_arc = true

  # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
  # s.dependency "JSONKit", "~> 1.4"


  # 自定义的形同 UIScrollView 能够进行拖动和缩放的视图
  s.subspec 'CJGRView' do |ss|
    ss.source_files = "CJGRKit/CJGRView/**/*.{h,m}"
    #ss.dependency "CJGRKit/UIView/CJPopupAction"
  end

  # CGRectCJSubHelper
  s.subspec 'CGRectCJSubHelper' do |ss|
    ss.source_files = "CJGRKit/CGRectCJSubHelper/*.{h,m}"
  end

  # 继承系统的 UIScrollView，增加其他限制
  s.subspec 'CJGRScrollView' do |ss|
    ss.source_files = "CJGRKit/CJGRScrollView/**/*.{h,m}"
    ss.dependency "Masonry"
  end
  

  
end
